package com.info33.platform.business.app.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * App 首页 VO
 *
 * @author debj
 * @version 1.0
 * @date 2021/8/11 13:52
 */
@Data
public class AppHomeContentVO {

    @ApiModelProperty(value = "菜单 id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long label;

    @ApiModelProperty(value = "内容")
    private Object object;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

    public AppHomeContentVO(Long label, Object object) {
        this.label = label;
        this.object = object;
    }

}
